package site.codeblog.designpattern.factory.befor;

public abstract class Coffee {

    // 咖啡类型
    private String type;

    public void setType(String type) {
        this.type = type;
    }

    public void getType() {
        System.out.println("咖啡类型：" + type);
    }

    public void addMilk() {
        System.out.println("加奶");
    }

    public void addSugar() {
        System.out.println("加糖");
    }

}
